Token Classification
Transformers
ONNX
Safetensors
English
Japanese
Chinese
bert
anime
filename-parsing
Eval Results (legacy)
Run this model with HF Jobs
Run ModerRAS/AniFileBERT on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ModerRAS/AniFileBERT. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ModerRAS/AniFileBERT on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ModerRAS/AniFileBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ModerRAS/AniFileBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ModerRAS/AniFileBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ModerRAS/AniFileBERT") model = AutoModelForTokenClassification.from_pretrained("ModerRAS/AniFileBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Drop multi-title synthetic templates
Browse files696 unmodified lines697698699700701702709 unmodified lines141214131414141514161417696 unmodified linesif classes.len() != recipe.roles.len() {return None;}let mut builder = CharBuilder::default();let mut previous_role = "";for (class_name, role) in classes.iter().zip(recipe.roles.iter()) {709 unmodified lines);}#[test]fn path_title_season_episode_labels_are_projected() {let base = char_record_from_spans(696 unmodified lines697698699700701702703704705706707708709710711709 unmodified lines142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444696 unmodified linesif classes.len() != recipe.roles.len() {return None;}if recipe.roles.iter().filter(|role| role.as_str() == "TITLE").count()!= 1{return None;}let mut builder = CharBuilder::default();let mut previous_role = "";for (class_name, role) in classes.iter().zip(recipe.roles.iter()) {709 unmodified lines);}#[test]fn numeric_generation_drops_multi_title_templates() {let recipe = Recipe {template_id: "tpl_multi_title".to_string(),template: "TEXT SEP TEXT SEP EPISODE".to_string(),roles: vec!["TITLE".to_string(),"O".to_string(),"TITLE".to_string(),"O".to_string(),"EPISODE".to_string(),],confidence: Some("high".to_string()),_count: Some(1),};assert!(build_numeric_record(&recipe, "91 Days", 0).is_none());}#[test]fn path_title_season_episode_labels_are_projected() {let base = char_record_from_spans(
tools/schema_v2_synthetic_augment/src/main.rs+27