feat: update research query to explore Hugging Face model versioning and updates
This commit is contained in:
parent
6f7735f70f
commit
da48c38d51
@ -2,11 +2,12 @@ import json
|
|||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
from rich.spinner import Spinner
|
from rich.spinner import Spinner
|
||||||
from qwen_agent.agents import Assistant
|
from qwen_agent.agents import Assistant
|
||||||
|
from transformers import pipeline
|
||||||
|
|
||||||
# Define LLM
|
# Define LLM
|
||||||
llm_cfg = {
|
llm_cfg = {
|
||||||
'model': 'hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q5_K_M',
|
# 'model': 'hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q5_K_M',
|
||||||
# 'model': 'qwen3:32b',
|
'model': 'qwen3:32b',
|
||||||
|
|
||||||
# Use a custom endpoint compatible with OpenAI API:
|
# Use a custom endpoint compatible with OpenAI API:
|
||||||
'model_server': 'http://localhost:11434/v1', # api_base
|
'model_server': 'http://localhost:11434/v1', # api_base
|
||||||
@ -48,9 +49,10 @@ console = Console()
|
|||||||
messages = [{'role': 'user',
|
messages = [{'role': 'user',
|
||||||
'content':
|
'content':
|
||||||
""""
|
""""
|
||||||
- ***Research** Parsing CLI commands and options in python code.
|
***Research** Updating models from https://huggingface.co .
|
||||||
-- **Analyze** Clean separation of concerns between parsing commands and options and execution of the commands.
|
**Analyze** how can I find out if a model on hugging face is newer than the model I have now. For instance https://huggingface.co/unsloth/Qwen3-30B-A3B-GGUF
|
||||||
-- **Answer** What is the best way to parse CLI commands and options in python code?"""}]
|
pipe = pipeline("text-generation", model="Qwen/Qwen3-30B-A3B")
|
||||||
|
**Answer** In English. Is there a versioning scheme for models on huggingface? Can I instruct ollama to pull a newer version of a model?"""}]
|
||||||
|
|
||||||
final_responses = None
|
final_responses = None
|
||||||
# Consider adding error handling around bot.run
|
# Consider adding error handling around bot.run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user