Instructions to use sujan07/coma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sujan07/coma with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sujan07/coma")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sujan07/coma") model = AutoModelForSeq2SeqLM.from_pretrained("sujan07/coma", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 833 Bytes
5b55843 bc8583d 5b55843 | 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 | ---
license: mit
language:
- en
library_name: transformers
pipeline_tag: feature-extraction
---
# Coma Model
This repository contains a custom model for feature extraction using the BART architecture. The model and tokenizer are hosted on Hugging Face, and the inference is integrated into a Glitch server for processing WhatsApp messages.
## Files and Directories
- `model/`
- `config.json`
- `generation_config.json`
- `model.safetensors`
- `tokenizer/`
- `merges.txt`
- `special_tokens_map.json`
- `tokenizer_config.json`
- `vocab.json`
- `README.md`: This file.
## Getting Started
### 1. Set Up Hugging Face Model
Ensure all model and tokenizer files are correctly uploaded to your Hugging Face repository.
### 2. Environment Variables
Create a `.env` file in your Glitch project with the following content: |