i04n4 commited on
Commit
d3d01a2
·
verified ·
1 Parent(s): bdf492f

Create README.md

Browse files

## Llama-based tutor trained on a few mathematical datasets

## Usage

1. run the following commands in the downloaded folder:
- ollama create math-llama -f Modelfile
- ollama run math-llama

2. in your python app, use the ollama library to ask your model questions

- example code snippet:

```
stream = ollama.chat(
model=MODEL_NAME,
messages=[
{'role': 'system', 'content': system_prompt},
{'role': 'user', 'content': question},
],
stream=True,
)

full_response = ""
for chunk in stream:
content = chunk['message']['content']
print(content, end="", flush=True)
full_response += content
```

## Warnings
- this is not a state-of-the-art model, feel free to further finetune this model, as it may not answer correctly to questions involving too advanced mathematics

Files changed (1) hide show
  1. README.md +6 -0
README.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ base_model:
5
+ - unsloth/Llama-3.2-3B-Instruct
6
+ ---