Text Generation
Transformers
Safetensors
English
qwen3
raquel
tofu
ga
lora
merged
machine-unlearning
research
conversational
text-generation-inference
Instructions to use Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1") 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("Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1") model = AutoModelForCausalLM.from_pretrained("Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1", 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 Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1
- SGLang
How to use Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1 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 "Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1" \ --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": "Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1", "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 "Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1" \ --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": "Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1 with Docker Model Runner:
docker model run hf.co/Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1
Download checksums.json from Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1: direct link, hf CLI and curl.
- Browser
- Download file 2.26 kB
-
https://huggingface.co/Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1/resolve/main/checksums.json
- Command line
-
hf download hf://Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1/checksums.json
-
curl -L -o checksums.json https://huggingface.co/Hyukkyu/Qwen3-8B-Base-RAQUEL-TOFU-Unlearn-GA-GD-LoRA-v1/resolve/main/checksums.json
2.26 kB
| { | |
| "LICENSE": { | |
| "bytes": 11358, | |
| "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" | |
| }, | |
| "NOTICE": { | |
| "bytes": 174, | |
| "sha256": "489ae0dfc861dcf31e9bbc8616a6bc2d9cf482332f82c96354c51857860f656e" | |
| }, | |
| "README.md": { | |
| "bytes": 3829, | |
| "sha256": "22d86ae831eed7f5b439b86e96925fd0c1879f7a2a43efd57046498852aad863" | |
| }, | |
| "adapter/adapter_config.json": { | |
| "bytes": 1223, | |
| "sha256": "f5b0bcd87850478941eb79ab5c0dfba6f9ae4fd8a97e45dea6934a6df6e8b2a4" | |
| }, | |
| "adapter/adapter_model.safetensors": { | |
| "bytes": 698419728, | |
| "sha256": "cdf3f3b5a77fc78fa418932bcfb2245687923202678e058879e8c2d52dc45cf8" | |
| }, | |
| "adapter/chat_template.jinja": { | |
| "bytes": 4116, | |
| "sha256": "87a2728cb8dc9fe424d624542f6060ec05a1d285ebbec578bb078900e33396b5" | |
| }, | |
| "adapter/tokenizer.json": { | |
| "bytes": 11422817, | |
| "sha256": "79cb3c783570f1b8fe73b9ed530ae50cae9ce4b6344c0b5edefc50478847eaa4" | |
| }, | |
| "adapter/tokenizer_config.json": { | |
| "bytes": 800, | |
| "sha256": "1c28b215d66e6a82f251e05014dec02250496d48d2288c2df503a07a5edf2f8e" | |
| }, | |
| "chat_template.jinja": { | |
| "bytes": 4116, | |
| "sha256": "87a2728cb8dc9fe424d624542f6060ec05a1d285ebbec578bb078900e33396b5" | |
| }, | |
| "config.json": { | |
| "bytes": 1595, | |
| "sha256": "b588e28ec8c6aabdb87ed8d07da6fbee62aa26415bf64a8399b3cb7a79248a60" | |
| }, | |
| "evaluation.json": { | |
| "bytes": 3178, | |
| "sha256": "340311de853da69153d911caac37c641c9375d8bc81b35a50c302c3418bcc667" | |
| }, | |
| "generation_config.json": { | |
| "bytes": 139, | |
| "sha256": "689c1e2b6769259cc773777319bae6f2bd6020ea1aa432b437578da46c994e8a" | |
| }, | |
| "model.safetensors": { | |
| "bytes": 16381517208, | |
| "sha256": "39452776724d67b76e5562bf90d61f8f564883460341f42fcf96e21b94a0a2f5" | |
| }, | |
| "package_versions.json": { | |
| "bytes": 152, | |
| "sha256": "a33200ae00c1fcb956c6dd25fb3de9e0d43ccaa9710347e726cec7c9a3eb8505" | |
| }, | |
| "tokenizer.json": { | |
| "bytes": 11422817, | |
| "sha256": "79cb3c783570f1b8fe73b9ed530ae50cae9ce4b6344c0b5edefc50478847eaa4" | |
| }, | |
| "tokenizer_config.json": { | |
| "bytes": 800, | |
| "sha256": "1c28b215d66e6a82f251e05014dec02250496d48d2288c2df503a07a5edf2f8e" | |
| }, | |
| "training_recipe.json": { | |
| "bytes": 2323, | |
| "sha256": "b073cc57e1fc9c9847f36af6a9686fd45a21ce99bd229cf3594104b851bf6e28" | |
| } | |
| } | |