Instructions to use mikav-ai/mikav with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mikav-ai/mikav with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mikav-ai/mikav", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| """Clean Malayalam text files.""" | |
| from pathlib import Path | |
| def clean_line(line: str) -> str: | |
| return " ".join(line.strip().split()) | |
| def main() -> None: | |
| input_dir = Path("data/raw") | |
| output_dir = Path("data/cleaned") | |
| output_dir.mkdir(parents=True, exist_ok=True) | |
| print(f"Add cleaning logic for files in {input_dir} -> {output_dir}") | |
| if __name__ == "__main__": | |
| main() | |