Mask Generation
Transformers
Safetensors
falcon_perception
text-generation
falcon
segmentation
vision-language
open-vocabulary
custom_code
Eval Results
Instructions to use tiiuae/Falcon-Perception with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tiiuae/Falcon-Perception with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("mask-generation", model="tiiuae/Falcon-Perception", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("tiiuae/Falcon-Perception", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -44,7 +44,6 @@ from transformers import AutoModelForCausalLM
|
|
| 44 |
model = AutoModelForCausalLM.from_pretrained(
|
| 45 |
"tiiuae/falcon-perception",
|
| 46 |
trust_remote_code=True,
|
| 47 |
-
torch_dtype=torch.bfloat16,
|
| 48 |
device_map={"": "cuda:0"},
|
| 49 |
)
|
| 50 |
|
|
|
|
| 44 |
model = AutoModelForCausalLM.from_pretrained(
|
| 45 |
"tiiuae/falcon-perception",
|
| 46 |
trust_remote_code=True,
|
|
|
|
| 47 |
device_map={"": "cuda:0"},
|
| 48 |
)
|
| 49 |
|