Update README.md
Browse files17 unmodified lines181920212223242517 unmodified linesI just made a fine-tune of [SmolLM2 135M](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct) on the [GSM8K](https://huggingface.co/openai/gsm8k) datasetand it does improve math sometimes.## Evaluation Results| Metric | Value || :----- | :--------: || **Loss** | 1.284519 || **Steps** | 2805 |17 unmodified lines1819202122232425262728293031323334353637383917 unmodified linesI just made a fine-tune of [SmolLM2 135M](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct) on the [GSM8K](https://huggingface.co/openai/gsm8k) datasetand it does improve math sometimes.## Evaluation Results| Metric | Value || :----- | :--------: || **Loss** | 1.284519 || **Steps** | 2805 |## How to UseThis code is by Gemini 3 Flash:```from transformers import AutoModelForCausalLM, AutoTokenizermodel_name = "MihaiPopa-1/SmolLM2-135M-Math" # Replace with your repo pathtokenizer = AutoTokenizer.from_pretrained(model_name)model = AutoModelForCausalLM.from_pretrained(model_name)prompt = "Question: If John has 5 apples and eats 2, then buys 4 more, how many does he have?\nAnswer:"inputs = tokenizer(prompt, return_tensors="pt")outputs = model.generate(**inputs, max_new_tokens=50)print(tokenizer.decode(outputs[0], skip_special_tokens=True))```
README.md+16-2