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
Include title position literals in Rust recipes
Browse files946 unmodified lines947948949950951952375 unmodified lines1328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352946 unmodified lines"roles": row["suggested_roles"],"title_spans": row.get("title_spans").cloned().unwrap_or_else(|| json!([])),"title_boundary_decisions": row.get("title_boundary_decisions").cloned().unwrap_or_else(|| json!([])),"confidence": confidence,"count": row["count"],"examples": row["examples"],375 unmodified lines.and_then(Value::as_array).map(|items| items.iter().take(8).cloned().collect::<Vec<_>>()).unwrap_or_default();let payload = json!({"task": "Classify whether two adjacent TITLE slots in an anime filename template should be one logical title span or kept separate.","allowed_decisions": {"merge": "same title continuation; use one logical title span","keep": "separate title slots such as duplicate/path title, alias, multilingual title, or distinct fields","skip": "uncertain or unsafe for synthetic replacement"},"template_id": recipe.get("template_id"),"template": recipe.get("template"),"roles": recipe.get("roles"),"boundary": decision,"left_position_top_literals": left_literals,"right_position_top_literals": right_literals,"examples": examples,"output_schema": {"decision": "merge|keep|skip","kind": "same_title_continuation|duplicate_title|multilingual_alias|path_duplicate|distinct_fields|uncertain","confidence": "number from 0 to 1","reason": "short explanation"}});format!(946 unmodified lines947948949950951952953954375 unmodified lines133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365946 unmodified lines"roles": row["suggested_roles"],"title_spans": row.get("title_spans").cloned().unwrap_or_else(|| json!([])),"title_boundary_decisions": row.get("title_boundary_decisions").cloned().unwrap_or_else(|| json!([])),"position_top_literals": row.get("position_top_literals").cloned().unwrap_or_else(|| json!([])),"top_literals": row.get("top_literals").cloned().unwrap_or_else(|| json!([])),"confidence": confidence,"count": row["count"],"examples": row["examples"],375 unmodified lines.and_then(Value::as_array).map(|items| items.iter().take(8).cloned().collect::<Vec<_>>()).unwrap_or_default();let boundary = json!({"left_role_index": left,"right_role_index": right,"literal_similarity": decision.get("similarity").cloned().unwrap_or(Value::Null),});let payload = json!({"task": "Independently classify whether two adjacent TITLE slots in an anime filename template should be one logical title span or kept separate.","rules": ["Choose merge only when the two slots are contiguous parts of the same title/subtitle phrase.","Choose keep when slots are duplicate titles, path/leaf repeats, multilingual aliases, category tags plus title, or distinct title candidates.","Choose skip when examples/top literals are mixed or insufficient.","Do not infer from any heuristic decision; use examples and position literals."],"allowed_decisions": {"merge": "same title continuation; use one logical title span","keep": "separate title slots such as duplicate/path title, alias, multilingual title, category tag plus title, or distinct fields","skip": "uncertain or unsafe for synthetic replacement"},"template_id": recipe.get("template_id"),"template": recipe.get("template"),"roles": recipe.get("roles"),"boundary": boundary,"left_position_top_literals": left_literals,"right_position_top_literals": right_literals,"examples": examples,"output_schema": {"decision": "merge|keep|skip","kind": "same_title_continuation|duplicate_title|multilingual_alias|path_duplicate|category_plus_title|distinct_fields|uncertain","confidence": "number from 0 to 1","reason": "short explanation citing examples or top literals"}});format!(
tools/rust_dmhy_template_apply/src/main.rs+18-5