Views
No views yet
1# Download model
2huggingface-cli download pragnesh002/Qwen3-4B-Product-Extractor-GGUF-Q4-K-M --local-dir ./model
3
4# Run inference
5./main -m ./model/*.gguf -p "Your prompt here"1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3tokenizer = AutoTokenizer.from_pretrained("pragnesh002/Qwen3-4B-Product-Extractor-GGUF-Q4-K-M")
4model = AutoModelForCausalLM.from_pretrained(
5 "pragnesh002/Qwen3-4B-Product-Extractor-GGUF-Q4-K-M",
6 device_map="cpu",
7 trust_remote_code=True
8)1prompt = '''Extract product data from:
2Item: GR-AA10
3Description: Wall Art
4Manufacturer: Harper & Wilde
5Output JSON:'''
6
7# Expected output: structured JSON with product information