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
Download config.json from eunyuOffice/simcse_chat: direct link, hf CLI and curl.
- Browser
- Download file 562 Bytes
-
https://huggingface.co/eunyuOffice/simcse_chat/resolve/main/config.json
- Command line
-
hf download hf://eunyuOffice/simcse_chat/config.json
-
curl -L -o config.json https://huggingface.co/eunyuOffice/simcse_chat/resolve/main/config.json
562 Bytes
| { | |
| "model_type": "custom", | |
| "handler": "handler.py", | |
| "runtime": "python3.11", | |
| "framework": "pytorch", | |
| "device": "cuda", | |
| "max_batch_size": 1, | |
| "max_sequence_length": 512, | |
| "model_name": "simcse_chat", | |
| "model_version": "1.0", | |
| "model_description": "감정 상담 챗봇 모델", | |
| "model_author": "eunyuOffice", | |
| "model_license": "MIT", | |
| "model_tags": ["chat", "emotion", "counseling", "korean"], | |
| "model_metrics": { | |
| "loss": "cross_entropy", | |
| "optimizer": "adamw", | |
| "learning_rate": 2e-5 | |
| } | |
| } |