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
Document synthetic hard-focus training recipe
Browse files115 unmodified lines116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145115 unmodified lines --manifest data\schema_v2_synthetic_aug.manifest.json```
Preferred synthetic follow-up training is a second stage from the best repairedhard-focus checkpoint, not a replacement for hard-focus. Do not combine`--encoded-cache-dir` with `--extra-data-file`; use the raw hard-focus JSONLwhen mixing synthetic augmentation, or rebuild a combined Rust encoded cache.Use native Windows Python from `.venv` after confirming CUDA works:
```powershell.\.venv\Scripts\python.exe -m anifilebert.train --tokenizer char ` --data-file data\schema_v2_hard_focus_char_seed63.jsonl ` --extra-data-file data\schema_v2_synthetic_aug.jsonl ` --extra-data-repeat 3 ` --vocab-file datasets\AnimeName\vocab.char.json ` --save-dir checkpoints\schema-v2-best-hardfocus-synth-pathleaf ` --init-model-dir checkpoints\ablation-schema-v2-hardfocus-cache-repaired-from-baseline-seed62-10epoch-rerun\final ` --epochs 2 --batch-size 512 --learning-rate 0.00004 --warmup-steps 120 ` --max-seq-length 128 --train-split 0.995 --num-workers 0 ` --checkpoint-steps 1000 --save-total-limit 3 --no-periodic-eval ` --bf16 --auto-find-batch-size ` --parse-eval-limit 2048 ` --case-eval-file data\parser_regression_cases.json ` --case-eval-output reports\schema_v2_best_hardfocus_synth_pathleaf_case_metrics.json ` --seed 63 --experiment-name schema-v2-best-hardfocus-synth-pathleaf```
Export for Android:
```bashAGENTS.md+24