Instructions to use eunyuOffice/simcse_chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use eunyuOffice/simcse_chat with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyLlama/TinyLlama-1.1B-Chat-v1.0") model = PeftModel.from_pretrained(base_model, "eunyuOffice/simcse_chat") - Notebooks
- Google Colab
- Kaggle
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +6 -0
requirements.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch>=2.0.0
|
| 2 |
+
transformers>=4.36.0
|
| 3 |
+
peft>=0.7.0
|
| 4 |
+
accelerate>=0.25.0
|
| 5 |
+
sentencepiece>=0.1.99
|
| 6 |
+
protobuf>=4.25.1
|