Instructions to use sdzt/ForgeLoc-R1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sdzt/ForgeLoc-R1 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sdzt/ForgeLoc-R1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download af/generation_config.json from sdzt/ForgeLoc-R1: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/sdzt/ForgeLoc-R1/resolve/main/af/generation_config.json
- Command line
-
hf download hf://sdzt/ForgeLoc-R1/af/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/sdzt/ForgeLoc-R1/resolve/main/af/generation_config.json
290 Bytes
| { | |
| "attn_implementation": "flash_attention_2", | |
| "bos_token_id": 151643, | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 151645, | |
| 151643 | |
| ], | |
| "pad_token_id": 151643, | |
| "repetition_penalty": 1.05, | |
| "temperature": 1e-06, | |
| "transformers_version": "4.51.3", | |
| "use_sliding_window": true | |
| } | |