Text Generation
Transformers
Safetensors
deepseek_v3
conversational
custom_code
text-generation-inference
fp8
Instructions to use dasLOL/Affine-Dessss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dasLOL/Affine-Dessss with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dasLOL/Affine-Dessss", trust_remote_code=True) 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("dasLOL/Affine-Dessss", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("dasLOL/Affine-Dessss", trust_remote_code=True, 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 dasLOL/Affine-Dessss with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dasLOL/Affine-Dessss" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dasLOL/Affine-Dessss", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dasLOL/Affine-Dessss
- SGLang
How to use dasLOL/Affine-Dessss 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 "dasLOL/Affine-Dessss" \ --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": "dasLOL/Affine-Dessss", "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 "dasLOL/Affine-Dessss" \ --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": "dasLOL/Affine-Dessss", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dasLOL/Affine-Dessss with Docker Model Runner:
docker model run hf.co/dasLOL/Affine-Dessss
Commit History
-
Upload tokenizer_config.json with huggingface_hub
Verified signature3c8deb2 -
Upload README.md with huggingface_hub
Verified signaturec75d73e -
Upload assets/search_tool_trajectory.html with huggingface_hub
Verified signature9f13a83 -
Upload assets/search_python_tool_trajectory.html with huggingface_hub
Verified signatured069ff0 -
Upload assets/code_agent_trajectory.html with huggingface_hub
Verified signature9ee2158 -
Upload assets/chat_template.jinja with huggingface_hub
Verified signature503facb
-
Upload tokenizer_config.json with huggingface_hub
Verified signature3c11d4d -
Upload model.safetensors.index.json with huggingface_hub
Verified signatureafbd2da -
Upload model-00162-of-000163.safetensors with huggingface_hub
Verified signatureb9c856f -
Upload model-00159-of-000163.safetensors with huggingface_hub
Verified signature765b3e4 -
Upload model-00153-of-000163.safetensors with huggingface_hub
Verified signature12d52b9 -
Upload model-00145-of-000163.safetensors with huggingface_hub
Verified signature6cd29f3 -
Upload model-00142-of-000163.safetensors with huggingface_hub
Verified signature4a3c041 -
Upload model-00139-of-000163.safetensors with huggingface_hub
Verified signature5cfcab9 -
Upload model-00138-of-000163.safetensors with huggingface_hub
Verified signature1a6305f -
Upload model-00133-of-000163.safetensors with huggingface_hub
Verified signature17d7eda -
Upload model-00132-of-000163.safetensors with huggingface_hub
Verified signaturef4a2a56 -
Upload model-00129-of-000163.safetensors with huggingface_hub
Verified signatureef9681a -
Upload model-00126-of-000163.safetensors with huggingface_hub
Verified signature5223b7b -
Upload model-00125-of-000163.safetensors with huggingface_hub
Verified signature01641a9 -
Upload model-00124-of-000163.safetensors with huggingface_hub
Verified signature5ba2347 -
Upload model-00122-of-000163.safetensors with huggingface_hub
Verified signaturee50171b -
Upload model-00119-of-000163.safetensors with huggingface_hub
Verified signature571958a -
Upload model-00113-of-000163.safetensors with huggingface_hub
Verified signaturee65aa84 -
Upload model-00109-of-000163.safetensors with huggingface_hub
Verified signaturefe38adb -
Upload model-00106-of-000163.safetensors with huggingface_hub
Verified signature1394417 -
Upload model-00102-of-000163.safetensors with huggingface_hub
Verified signatureead50ad -
Upload model-00099-of-000163.safetensors with huggingface_hub
Verified signatured32701c -
Upload model-00072-of-000163.safetensors with huggingface_hub
Verified signature8b577fa -
Upload model-00066-of-000163.safetensors with huggingface_hub
Verified signaturebfd3ba5 -
Upload model-00062-of-000163.safetensors with huggingface_hub
Verified signature6f2cecf -
Upload model-00061-of-000163.safetensors with huggingface_hub
Verified signature327fb5b -
Upload model-00059-of-000163.safetensors with huggingface_hub
Verified signature306fe08 -
Upload model-00058-of-000163.safetensors with huggingface_hub
Verified signature4245978 -
Upload model-00054-of-000163.safetensors with huggingface_hub
Verified signature11cd6fa -
Upload model-00053-of-000163.safetensors with huggingface_hub
Verified signatureb58dfd6 -
Upload model-00048-of-000163.safetensors with huggingface_hub
Verified signature5967932 -
Upload model-00040-of-000163.safetensors with huggingface_hub
Verified signature44bdfeb -
Upload model-00039-of-000163.safetensors with huggingface_hub
Verified signaturee3a7cc4 -
Upload model-00034-of-000163.safetensors with huggingface_hub
Verified signature4c22b05 -
Upload model-00032-of-000163.safetensors with huggingface_hub
Verified signature62b6634 -
Upload model-00031-of-000163.safetensors with huggingface_hub
Verified signature579b9f3 -
Upload model-00030-of-000163.safetensors with huggingface_hub
Verified signatured51f8ec -
Upload model-00025-of-000163.safetensors with huggingface_hub
Verified signature8a3d3c9 -
Upload model-00024-of-000163.safetensors with huggingface_hub
Verified signature167b2c7 -
Upload model-00012-of-000163.safetensors with huggingface_hub
Verified signature980cc86 -
Upload model-00008-of-000163.safetensors with huggingface_hub
Verified signature12d85fd -
Upload model-00007-of-000163.safetensors with huggingface_hub
Verified signature2992b0e -
Upload model-00001-of-000163.safetensors with huggingface_hub
Verified signature67a660b -
Upload model-00158-of-000163.safetensors with huggingface_hub
Verified signatured26e15e