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:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mikav-ai/mikav", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 320 Bytes
0912b10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | """Deduplicate cleaned text."""
from pathlib import Path
def main() -> None:
input_dir = Path("data/cleaned")
output_dir = Path("data/deduplicated")
output_dir.mkdir(parents=True, exist_ok=True)
print(f"Add deduplication logic for {input_dir} -> {output_dir}")
if __name__ == "__main__":
main()
|