Instructions to use Tincando/new_data_edgar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tincando/new_data_edgar with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Tincando/new_data_edgar")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Tincando/new_data_edgar") model = AutoModelForCausalLM.from_pretrained("Tincando/new_data_edgar", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Tincando/new_data_edgar with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Tincando/new_data_edgar" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Tincando/new_data_edgar", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Tincando/new_data_edgar
- SGLang
How to use Tincando/new_data_edgar with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Tincando/new_data_edgar" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Tincando/new_data_edgar", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Tincando/new_data_edgar" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Tincando/new_data_edgar", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Tincando/new_data_edgar with Docker Model Runner:
docker model run hf.co/Tincando/new_data_edgar
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.a72263c
-
Training in progress, step 17000
d28c1f7 -
Training in progress, step 16500
b6f1e5a -
Training in progress, step 16000
21c7814 -
Training in progress, step 15500
f26898d -
Training in progress, step 15000
dc320ae -
Training in progress, step 14500
ea38270 -
Training in progress, step 14000
058aff8 -
Training in progress, step 13500
1de7eb0 -
Training in progress, step 13000
437eb2b -
Training in progress, step 12500
a7ca6ba -
Training in progress, step 12000
d267deb -
Training in progress, step 11500
5d2d1ce -
Training in progress, step 11000
997ea44 -
Training in progress, step 10500
0ad52f9 -
Training in progress, step 10000
c52559d -
Training in progress, step 9500
9932ef1 -
Training in progress, step 9000
db7f787 -
Training in progress, step 8500
3c3a4c1 -
Training in progress, step 8000
0eeaebf -
Training in progress, step 7500
edac250 -
Training in progress, step 7000
be97b3b -
Training in progress, step 6500
3ec3f5e -
Training in progress, step 6000
4ae0307 -
Training in progress, step 5500
22187bd -
Training in progress, step 5000
2b9da9c -
Training in progress, step 4500
2bea362 -
Training in progress, step 4000
b5abb68 -
Training in progress, step 3500
b58d52f -
Training in progress, step 3000
6d290cd -
Training in progress, step 2500
0caa517 -
Training in progress, step 2000
e8e9c8f -
Training in progress, step 1500
025bf9f -
Training in progress, step 1000
f2d0dff -
Training in progress, step 500
6e97d20 -
initial commit
3d35320