Instructions to use roy1109/math_solving_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use roy1109/math_solving_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "roy1109/math_solving_model") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse filesFiles changed (3)
12 unmodified lines131415161617181920212223242512 unmodified lines "rstrip": false, "single_word": false }, "pad_token": "<|endoftext|>", "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "unk_token": { "content": "<|endoftext|>", "lstrip": false,123456783456{ "version": "1.0", "truncation": { "direction": "Right", "max_length": 256, "strategy": "LongestFirst", "stride": 0 }, "truncation": null, "padding": null, "added_tokens": [ {316 unmodified lines317318319320321322323324325326327328316 unmodified lines "bos_token": "<|endoftext|>", "clean_up_tokenization_spaces": true, "eos_token": "<|endoftext|>", "max_length": 256, "model_max_length": 2048, "pad_token": "<|endoftext|>", "stride": 0, "tokenizer_class": "CodeGenTokenizer", "truncation_side": "right", "truncation_strategy": "longest_first", "unk_token": "<|endoftext|>"}special_tokens_map.json+7-1
tokenizer.json+1-6
tokenizer_config.json+4