Instructions to use Kushalguptaiitb/table_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kushalguptaiitb/table_test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="Kushalguptaiitb/table_test")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("Kushalguptaiitb/table_test") model = AutoModelForObjectDetection.from_pretrained("Kushalguptaiitb/table_test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 173 Bytes
07bb79d | 1 2 3 4 5 6 | import yaml
def load_config(config_path: str) -> dict:
"""Load configuration from a YAML file."""
with open(config_path, 'r') as f:
return yaml.safe_load(f) |