Text Generation
Transformers
Safetensors
English
qwen3
financial-sentiment
finance
sentiment-analysis
nlp
conversational
text-generation-inference
Instructions to use NOSIBLE/financial-sentiment-v1.1-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NOSIBLE/financial-sentiment-v1.1-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NOSIBLE/financial-sentiment-v1.1-base") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NOSIBLE/financial-sentiment-v1.1-base") model = AutoModelForCausalLM.from_pretrained("NOSIBLE/financial-sentiment-v1.1-base", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NOSIBLE/financial-sentiment-v1.1-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NOSIBLE/financial-sentiment-v1.1-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NOSIBLE/financial-sentiment-v1.1-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NOSIBLE/financial-sentiment-v1.1-base
- SGLang
How to use NOSIBLE/financial-sentiment-v1.1-base 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 "NOSIBLE/financial-sentiment-v1.1-base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NOSIBLE/financial-sentiment-v1.1-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "NOSIBLE/financial-sentiment-v1.1-base" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NOSIBLE/financial-sentiment-v1.1-base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use NOSIBLE/financial-sentiment-v1.1-base with Docker Model Runner:
docker model run hf.co/NOSIBLE/financial-sentiment-v1.1-base
Commit History
-
Add: cost calc explanation
Simon van Dyk33b5a57 -
Update README.md
Verified signatureebd7d22 -
Move images into plots/
Simon van Dyka3c51ba -
Remove subtitle from accuracy plots and correct nosible accuracy on phrase-bank
Simon van Dyk91ab207 -
Update README.md
Verified signature7cac13d -
Update README.md
Verified signature0f322ab -
Add accuracy plots
Simon van Dyk0e026c5 -
Improve readability of text on plots
Simon van Dyk8efa38b -
Update: README - reorder plots
Simon van Dyk78c210d -
Update: plots
Simon van Dyk6baf50d -
Add: plot png images
Simon van Dyk0096988 -
Add: scatter plots to readme
Simon van Dyke0a3130 -
Update README.md
Verified signaturef9e2f5e -
Update README.md
Verified signaturedfb7d3f -
Delete results.png
Verified signature7831dae -
Reverted
Verified signature127f214 -
Testing again
Verified signaturecc74479 -
Reverted back
Verified signatureb0fbf89 -
Trying to improve the boot speed of the endpoint.
Verified signature268ed4f
-
Uploading checkpoint 2500 with EOS Token
Verified signature52b79bb -
Uploading checkpoint 2500 with EOS Token
Verified signature0776cc3 -
Uploaded model without EOS Token
Verified signatureb68efeb -
Uploaded model without EOS Token
Verified signature98b0fe3
-
Update tokenizer_config.json
Verified signature2c4477e -
Update tokenizer_config.json
Verified signatured03c0e0
-
Upload results.png
Verified signature97dcab4 -
Delete results.png
Verified signature7428cc5 -
Update README.md
Verified signaturecb4ebe5 -
Upload results.png
Verified signaturec44225e -
Delete results.png
Verified signaturee456d1e -
Upload results.png
Verified signature49e94ee -
Delete results.png
Verified signature12a429e -
Upload results.png
Verified signature0b44e54 -
Delete results.png
Verified signature8d6cffc -
Upload results.png
Verified signature8a4aff8 -
Delete results.png
Verified signature2fb83d4 -
Upload results.png
Verified signature680cf96 -
Delete results.png
Verified signaturebe9d439 -
Upload results.png
Verified signatureecd82d9 -
Delete results.png
Verified signature7ef21ee -
Update README.md
Verified signature8d9cdf8 -
Upload results.png
Verified signatureAdded plotea9010b -
Update README.md
Verified signatureb2c3fba -
Update README.md
Verified signature9da2de8 -
Update README.md
Verified signature11911ce -
Update README.md
Verified signature295df24 -
Update README.md
Verified signature817eec2 -
Update README.md
Verified signatureaff4e53 -
Update README.md
Verified signature4c5ae04 -
Update README.md
Verified signaturea201894