Downloads · 30 days
21
1% of all-time downloads
YiPz/llama3-8b-pokerbench-sft
llama3-8b-pokerbench-sft is a text generation model from YiPz. Use it when you need the model to write or continue text. The card lists the license as llama3.
Fine-tuned Llama 3.1 8B Instruct for poker decision-making using LoRA, trained on PokerBench dataset.
Downloads · 30 days
21
1% of all-time downloads
All-time downloads
2.4K
Public
Parameters
8B
16.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
Fine-tuned Llama 3.1 8B Instruct for poker decision-making using LoRA, trained on PokerBench dataset.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("YiPz/llama3-8b-pokerbench-sft")
tokenizer = AutoTokenizer.from_pretrained("YiPz/llama3-8b-pokerbench-sft")
messages = [
{"role": "system", "content": "You are an expert poker player. Respond with your action in <action></action> tags."},
{"role": "user", "content": "Your poker scenario..."}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs, max_new_tokens=32, temperature=0.1)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Actions are returned in <action></action> tags:
<action>fold</action><action>call</action><action>check</action><action>raise 15</action><action>bet 10</action>Quantized GGUF versions for llama.cpp/Ollama: YiPz/llama3-8b-pokerbench-sft-gguf
Subject to Llama 3 license.