Instructions to use tmasis/geocoding-complex-location-references with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps
- Unsloth Studio new
How to use tmasis/geocoding-complex-location-references with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tmasis/geocoding-complex-location-references to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tmasis/geocoding-complex-location-references to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tmasis/geocoding-complex-location-references to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="tmasis/geocoding-complex-location-references", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -69,7 +69,7 @@ model_name = "tmasis/geocoding-complex-location-references"
|
|
| 69 |
# Load model and tokenizer from Huggingface Hub
|
| 70 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 71 |
model = AutoModelForCausalLM.from_pretrained(
|
| 72 |
-
model_name
|
| 73 |
torch_dtype = "auto",
|
| 74 |
device_map = "auto"
|
| 75 |
)
|
|
|
|
| 69 |
# Load model and tokenizer from Huggingface Hub
|
| 70 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 71 |
model = AutoModelForCausalLM.from_pretrained(
|
| 72 |
+
model_name,
|
| 73 |
torch_dtype = "auto",
|
| 74 |
device_map = "auto"
|
| 75 |
)
|