Instructions to use danielfein/raid-ce-gemma4-e4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danielfein/raid-ce-gemma4-e4b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("danielfein/raid-ce-gemma4-e4b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| """Core package for training and using detection-token checkpoints.""" | |
| from .config import PipelineConfig | |
| from .pipeline import ( | |
| prepare_data, | |
| run_dataset_binary_evaluation, | |
| run_holdout_evaluation, | |
| run_training, | |
| run_training_pipeline, | |
| score_single_text, | |
| ) | |
| __all__ = [ | |
| "PipelineConfig", | |
| "prepare_data", | |
| "run_dataset_binary_evaluation", | |
| "run_holdout_evaluation", | |
| "run_training", | |
| "run_training_pipeline", | |
| "score_single_text", | |
| ] | |