Qwen1.7B Anonymizer Tool Call Merged Model

This is a merged model that combines:

  • Base model: Qwen1.7B SFT Tool Calling
  • LoRA Adapter: Anonymization capabilities

Model Description

This model is trained to perform text anonymization with proper JSON output format. It can identify and replace personally identifiable information (PII) while maintaining semantic meaning and context.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

# Load model
model = AutoModelForCausalLM.from_pretrained("eternis/qwen1.7b-anonymizer-merged", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("eternis/qwen1.7b-anonymizer-merged", trust_remote_code=True)

# Example usage
input_text = "John Doe works at Google in New York"
# ... generate anonymized output with tool calls

Training

This model was trained using a LoRA adapter approach:

  1. Base Qwen1.7B SFT model with tool calling capabilities
  2. LoRA adapter specialized in anonymization tasks

License

MIT License

Downloads last month
3
Safetensors
Model size
2B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support