Downloads · 30 days
6
8% of all-time downloads
zky11235/qwen2-webshop-federated
qwen2-webshop-federated is a text generation model from zky11235. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is a federated learning model based on Qwen2-1.5B-Instruct, trained using GRPO (Generalized Reward Policy Optimization) on the WebShop dataset.
Downloads · 30 days
6
8% of all-time downloads
All-time downloads
72
Public
Parameters
1.8B
13.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.1 GB · 53%
From the Hugging Face model README
This is a federated learning model based on Qwen2-1.5B-Instruct, trained using GRPO (Generalized Reward Policy Optimization) on the WebShop dataset.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("qwen2-webshop-federated")
model = AutoModelForCausalLM.from_pretrained("qwen2-webshop-federated")
# Example usage
inputs = tokenizer("Hello, how are you?", return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model was trained using federated learning with the following configuration:
The model was aggregated after round 70, global step 0.