Instructions to use SallySims/AnthroBot_Model_Lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SallySims/AnthroBot_Model_Lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SallySims/AnthroBot_Model_Lora", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -87,7 +87,7 @@ Use the code below to get started with the model.
|
|
| 87 |
|
| 88 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
| 89 |
|
| 90 |
-
model_id = "
|
| 91 |
|
| 92 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 93 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
|
|
|
| 87 |
|
| 88 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
| 89 |
|
| 90 |
+
model_id = "SallySims/AnthroBot_Model_Lora"
|
| 91 |
|
| 92 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 93 |
model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|