Text Generation
PEFT
Safetensors
English
code
gis
geospatial
geopandas
shapely
rasterio
osmnx
folium
lora
trl
sft
conversational
Instructions to use RhodWeo/GIS-Coder-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RhodWeo/GIS-Coder-7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "RhodWeo/GIS-Coder-7B") - Notebooks
- Google Colab
- Kaggle
Add requirements.txt
Browse files- requirements.txt +10 -0
requirements.txt
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch>=2.1.0
|
| 2 |
+
transformers>=4.44.0
|
| 3 |
+
trl>=0.12.0
|
| 4 |
+
peft>=0.13.0
|
| 5 |
+
datasets>=3.0.0
|
| 6 |
+
bitsandbytes>=0.44.0
|
| 7 |
+
accelerate>=1.0.0
|
| 8 |
+
trackio>=0.20.0
|
| 9 |
+
huggingface_hub>=0.25.0
|
| 10 |
+
flash-attn>=2.6.0 # optional, for --use_flash_attn flag
|