CarperAI / CarperAI/squeakily

FastTextLanguageDetector not download with from_pretrained

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
50
Forks
10
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When attempting to download a pretrained `FastTextLanguageDetector` model, the model is not downloaded.

**To Reproduce**
Steps to reproduce the behavior:
```
from squeakily.helpers import FastTextLanguageDetector

fasttext_model = FastTextLanguageDetector.from_pretrained()
```

**Additional context**
I think the bad line is: https://github.com/CarperAI/squeakily/blob/main/squeakily/helpers.py#L7331

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with squeakily/helpers.py at line 7331 and run the reported FastTextLanguageDetector.from_pretrained() example. Trace why the pretrained model is not downloaded, then verify that the call retrieves the model successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.