Instructions to use fasoo/llama3.1-financial-dedup with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fasoo/llama3.1-financial-dedup with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fasoo/llama3.1-financial-dedup")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fasoo/llama3.1-financial-dedup") model = AutoModelForCausalLM.from_pretrained("fasoo/llama3.1-financial-dedup") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use fasoo/llama3.1-financial-dedup with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fasoo/llama3.1-financial-dedup" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fasoo/llama3.1-financial-dedup", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/fasoo/llama3.1-financial-dedup
- SGLang
How to use fasoo/llama3.1-financial-dedup 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 "fasoo/llama3.1-financial-dedup" \ --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": "fasoo/llama3.1-financial-dedup", "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 "fasoo/llama3.1-financial-dedup" \ --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": "fasoo/llama3.1-financial-dedup", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use fasoo/llama3.1-financial-dedup with Docker Model Runner:
docker model run hf.co/fasoo/llama3.1-financial-dedup
Model Card for Model ID
ํด๋น ๋ชจ๋ธ์ ๊ธ์ต ๋๋ฉ์ธ ๋ฐ์ดํฐ 83๋ง๊ฐ์ ์ํ์ ๋ํ์ฌ ์ถ๊ฐํ์ตํ ๋ชจ๋ธ์ ๋๋ค.
Llama 3.1 8B base ๋ชจ๋ธ์์ ํ์ต์ด ์งํ๋์์ผ๋ฉฐ, ๊ทธ ์ธ ์ถ๊ฐ์ ์ธ instruction tuning์ ์ํ๋์ง ์์์ต๋๋ค.
๋ํ, ์ด ๋ชจ๋ธ์ ๊ณผํ๊ธฐ์ ์ ๋ณดํต์ ๋ถยท๊ด์ฃผ๊ด์ญ์๊ฐ ๊ณต๋ ์ง์ํ โ์ธ๊ณต์ง๋ฅ ์ค์ฌ ์ฐ์ ์ตํฉ ์ง์ ๋จ์ง ์กฐ์ฑ์ฌ์ โ์ผ๋ก ์ง์์ ๋ฐ์ ๊ฐ๋ฐ๋์์ต๋๋ค.
Model Details
Model Description
This is the model card of a ๐ค transformers model that has been pushed on the Hub. This model card has been automatically generated.
- Developed by: fasoo
- Model type: Causal Language Model
- Language(s) (NLP): English, Korean
- License: [More Information Needed]
- Finetuned from model: Llama 3.1 8B
Model Sources [optional]
- Paper [optional]: [More Information Needed]
Uses
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("fasoo/llama3.1-financial-dedup")
model = AutoModelForCausalLM.from_pretrained("fasoo/llama3.1-financial-dedup")
Environmental Impact
- Hardware Type: NVIDIA H100 80GB HBM3
- Compute Region: Gwangju, South Korea
- Downloads last month
- 1