Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
agents-course/Final_Assignment_Template
mjschock
/
Final_Assignment_Template
like
1
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
95d9fdc
Final_Assignment_Template
Ctrl+K
Ctrl+K
2 contributors
History:
93 commits
mjschock
Update requirements.txt to include sse-starlette dependency, enhance serve.py with additional imports for FastLanguageModel and FastVisionModel, and refactor train.py for improved organization and memory tracking during model training.
95d9fdc
unverified
23 days ago
.vscode
Refactor main_v2.py to update task formatting for dual answer requests, enhancing response structure. Implement error handling for JSON parsing in agent results, ensuring robust output. Add unit tests in test_questions.py to validate succinct answer accuracy against expected values. Remove unused extract_final_answer utility from utils.py, streamlining the codebase.
29 days ago
agents
Enhance agent functionality in main_v2.py by adding WikipediaSearchTool and updating DuckDuckGoSearchTool and VisitWebpageTool parameters. Modify agent initialization to accommodate new tools and increase max results and output length. Update requirements.txt to include Wikipedia-API dependency. Refactor imports for better organization across agent modules.
about 1 month ago
conf
Add serve.py for model deployment and API integration, update requirements.txt for smolagents with vllm support, and enhance .gitignore to exclude memory snapshot files. Additionally, implement testing configuration in config.yaml and modify train.py for memory tracking and model saving in VLLM format.
23 days ago
final_model
Add final model files including adapter configuration, model weights, tokenizer settings, and README documentation for SmolLM2-135M. This commit establishes the foundational structure for model deployment and usage.
24 days ago
notebooks
Remove redundant HF_TOKEN assignment from bonus-unit1 notebook to streamline code and enhance security practices.
27 days ago
prompts
Refactor main_v2.py to remove unused tools and agents, replacing them with the new SmartSearchTool for improved search functionality. Update prompt template loading to use the modified YAML file. Clean up imports and enhance overall code organization for better maintainability.
30 days ago
tools
Refactor main_v2.py to update task formatting for dual answer requests, enhancing response structure. Implement error handling for JSON parsing in agent results, ensuring robust output. Add unit tests in test_questions.py to validate succinct answer accuracy against expected values. Remove unused extract_final_answer utility from utils.py, streamlining the codebase.
29 days ago
.env.example
Safe
147 Bytes
Add .env.example for API configuration and update .gitignore to exclude .env files. Refactor app.py to implement BasicAgent class, replacing AgentRunner, and improve error handling and logging. Remove unused configuration and graph modules to streamline the codebase.
about 1 month ago
.gitattributes
Safe
1.52 kB
initial commit
about 1 month ago
.gitignore
Safe
113 Bytes
Add serve.py for model deployment and API integration, update requirements.txt for smolagents with vllm support, and enhance .gitignore to exclude memory snapshot files. Additionally, implement testing configuration in config.yaml and modify train.py for memory tracking and model saving in VLLM format.
23 days ago
README.md
Safe
400 Bytes
Update README.md
about 1 month ago
app.py
Safe
9.78 kB
Refactor main_v2.py to update task formatting for dual answer requests, enhancing response structure. Implement error handling for JSON parsing in agent results, ensuring robust output. Add unit tests in test_questions.py to validate succinct answer accuracy against expected values. Remove unused extract_final_answer utility from utils.py, streamlining the codebase.
29 days ago
main.py
Safe
11.4 kB
Refactor main_v2.py to update task formatting for dual answer requests, enhancing response structure. Implement error handling for JSON parsing in agent results, ensuring robust output. Add unit tests in test_questions.py to validate succinct answer accuracy against expected values. Remove unused extract_final_answer utility from utils.py, streamlining the codebase.
29 days ago
main_v2.py
Safe
4.71 kB
Refactor imports in main_v2.py to include SmartSearchTool, enhance code organization in model_factory.py by removing unnecessary whitespace, and improve formatting in test_questions.py for better readability and consistency.
27 days ago
model_factory.py
Safe
1.22 kB
Refactor imports in main_v2.py to include SmartSearchTool, enhance code organization in model_factory.py by removing unnecessary whitespace, and improve formatting in test_questions.py for better readability and consistency.
27 days ago
requirements.txt
Safe
769 Bytes
Update requirements.txt to include sse-starlette dependency, enhance serve.py with additional imports for FastLanguageModel and FastVisionModel, and refactor train.py for improved organization and memory tracking during model training.
23 days ago
serve.py
13 kB
Update requirements.txt to include sse-starlette dependency, enhance serve.py with additional imports for FastLanguageModel and FastVisionModel, and refactor train.py for improved organization and memory tracking during model training.
23 days ago
test_questions.py
Safe
1.39 kB
Refactor imports in main_v2.py to include SmartSearchTool, enhance code organization in model_factory.py by removing unnecessary whitespace, and improve formatting in test_questions.py for better readability and consistency.
27 days ago
train.py
14.2 kB
Update requirements.txt to include sse-starlette dependency, enhance serve.py with additional imports for FastLanguageModel and FastVisionModel, and refactor train.py for improved organization and memory tracking during model training.
23 days ago