Text Generation
Transformers
TensorBoard
Safetensors
qwen2
trl
sft
conversational
text-generation-inference
4-bit precision
bitsandbytes
Instructions to use ZWG817/Freelancer_Freelancer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZWG817/Freelancer_Freelancer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ZWG817/Freelancer_Freelancer") 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("ZWG817/Freelancer_Freelancer") model = AutoModelForCausalLM.from_pretrained("ZWG817/Freelancer_Freelancer", 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ZWG817/Freelancer_Freelancer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZWG817/Freelancer_Freelancer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZWG817/Freelancer_Freelancer", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ZWG817/Freelancer_Freelancer
- SGLang
How to use ZWG817/Freelancer_Freelancer 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 "ZWG817/Freelancer_Freelancer" \ --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": "ZWG817/Freelancer_Freelancer", "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 "ZWG817/Freelancer_Freelancer" \ --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": "ZWG817/Freelancer_Freelancer", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ZWG817/Freelancer_Freelancer with Docker Model Runner:
docker model run hf.co/ZWG817/Freelancer_Freelancer
Commit History
-
Delete adapter_config.json
Verified signature1c664fb -
Delete added_tokens.json
Verified signaturedc9aa14 -
Delete adapter_model.safetensors
Verified signature4697400 -
Delete merges.txt
Verified signatureaa792a4 -
Upload tokenizer
Verified signaturebee3b92 -
Upload Qwen2ForCausalLM
Verified signature37b004a -
Training in progress, step 6535
Verified signaturea2b6609 -
Training in progress, step 6400
Verified signature78802c5 -
Training in progress, step 6200
Verified signature9a588e7 -
Training in progress, step 6000
Verified signature2ce6ff8 -
Training in progress, step 5800
Verified signature2f908a8 -
Training in progress, step 5600
Verified signature6f2f2df -
Training in progress, step 5400
Verified signature27e0562 -
Training in progress, step 5200
Verified signaturecf295f5 -
Training in progress, step 5000
Verified signaturea2d300e -
Training in progress, step 4800
Verified signature5f4e04d -
Training in progress, step 4600
Verified signature4bed65e -
Training in progress, step 4400
Verified signature3820662 -
Training in progress, step 4200
Verified signaturef9c2b18 -
Training in progress, step 4000
Verified signatureb147328 -
Training in progress, step 3800
Verified signature7e8e718 -
Training in progress, step 3600
Verified signature16f34d1 -
Training in progress, step 3400
Verified signature9e32d82 -
Training in progress, step 3200
Verified signature2d3f8b6 -
Training in progress, step 3000
Verified signature09b0c38 -
Training in progress, step 2800
Verified signaturee59d903 -
Training in progress, step 2600
Verified signaturede5883f -
Training in progress, step 2400
Verified signature3d094b5 -
Training in progress, step 2200
Verified signaturecc7d406 -
Training in progress, step 2000
Verified signaturef420ee0 -
Training in progress, step 1800
Verified signaturee6dd17c -
Training in progress, step 1600
Verified signature9d1958a -
Training in progress, step 1400
Verified signature7924955 -
Training in progress, step 1200
Verified signatured9a9ffc -
Training in progress, step 1000
Verified signature9043284 -
Training in progress, step 800
Verified signature15277d2 -
Training in progress, step 600
Verified signatureaa6eb73 -
Training in progress, step 400
Verified signature70a0426 -
Training in progress, step 200
Verified signature8200c56
-
initial commit
Verified signature5df9824