Instructions to use QiYuan-tech/LLM-Detector-Small-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QiYuan-tech/LLM-Detector-Small-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="QiYuan-tech/LLM-Detector-Small-en", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QiYuan-tech/LLM-Detector-Small-en", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "chat_format": "chatml", | |
| "do_sample": true, | |
| "eos_token_id": 151643, | |
| "max_new_tokens": 512, | |
| "max_window_size": 6144, | |
| "pad_token_id": 151643, | |
| "repetition_penalty": 1.1, | |
| "top_k": 0, | |
| "top_p": 0.8, | |
| "transformers_version": "4.33.0" | |
| } | |