Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The shared google drive does't contain 'data_ctc.zip' or 'utils_fine_tune.tar.gz' #15

Open
BruceStayHungry opened this issue Mar 20, 2022 · 4 comments

Comments

@BruceStayHungry
Copy link

BruceStayHungry commented Mar 20, 2022

I'm trying to download the needed resources to run the model.

Although I have checked the existed issues and found the google drive link https://drive.google.com/drive/folders/1iEEMr2DYofulK2F5pSErOPf5ggrEqtJt?usp=sharing, it seems to have no data_ctc.zip or utils_fine_tune.tar.gz. Deeply grateful for any help.

@LiuWenJia-ops
Copy link

Same problem! Thanks for any update

@ghost
Copy link

ghost commented Apr 1, 2022

Hi everyone, hi @jeniyat!
Also, from my side - TY for this great work and for publishing your code/resources. 👍
I would also be very grateful, if we could get the both files, or am I missing something and they are somewhere on the drive? 🙇

@Ahren09
Copy link

Ahren09 commented Jul 17, 2022

Seems like you just need to replace the following lines in softner_ner_predict_from_file.py

labels = get_labels(args.labels)

by

id2label = {
    "0" : "O",
    "1" : "Data_Structure",
    "2" : "Code_Block",
    "3" : "Application",
    "4" : "Function",
    "5" : "Data_Type",
    "6" : "Language",
    "7" : "Library",
    "8" : "Variable",
    "9" : "Value",
    "10": "Device",
    "11": "User_Name",
    "12": "User_Interface_Element",
    "13": "Output_Block",
    "14": "Error_Name",
    "15": "Class",
    "16": "Website",
    "17": "Version",
    "18": "File_Name",
    "19": "File_Type",
    "20": "Operating_System",
    "21": "Algorithm",
    "22": "Organization",
    "23": "HTML_XML_Tag",
    "24": "Keyboard_IP",
    "25": "Licence"
}
labels = list(id2label.values())

@philippeitis
Copy link

Hi @BruceStayHungry @LiuWenJia-ops @cimichanga - I have uploaded a copy of the data to huggingface - available here: https://huggingface.co/itisphilippe/StackOverflowNER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants