File size: 1,719 Bytes
de2b492 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ---
language:
- en
tags:
- qwen3
- causal-lm
- natural-farming
- agriculture
- copyleft-cultivars
base_model: Qwen/Qwen3-0.6B
pipeline_tag: text-generation
---
# localNFchatbot
`localNFchatbot` is the CopyleftCultivars local natural-farming chatbot model.
This repository contains the **v5 clean** merged model checkpoint, promoted from the local training run documented in `autoresearch/configs/v5-clean-baseline.yaml` in the source project.
## Model details
- Base model: `Qwen/Qwen3-0.6B`
- Training/merge source: local LoRA adapter `outputs/lora-adapter-p6-lr5e5-r2`
- Uploaded checkpoint: `outputs/merged-model-p6-lr5e5-r2`
- Merge dtype: float16
- Format: Hugging Face Transformers checkpoint with `safetensors`
## Intended use
Text generation for natural-farming, soil, compost, natural fertilizer, and agroecology chatbot experiments.
## Loading example
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "CopyleftCultivars/localNFchatbot"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(repo_id, device_map="auto")
messages = [
{"role": "user", "content": "How can I make a simple natural fertilizer for seedlings?"},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.6, top_p=0.95, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```
## Notes
This is an experimental fine-tuned local model. Validate recommendations against local ecological context and safety requirements before applying them in the field.
|