Instructions to use dmody1/NER-telecom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dmody1/NER-telecom with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "dmody1/NER-telecom") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from dmody1/NER-telecom: direct link, hf CLI and curl.
- Browser
- Download file 174 Bytes
-
https://huggingface.co/dmody1/NER-telecom/resolve/main/generation_config.json
- Command line
-
hf download hf://dmody1/NER-telecom/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/dmody1/NER-telecom/resolve/main/generation_config.json
174 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "pad_token_id": 32000, | |
| "temperature": 0.9, | |
| "top_p": 0.6, | |
| "transformers_version": "4.31.0" | |
| } | |