зеркало из https://github.com/microsoft/GLUECoS.git
Add license header and update NOTICE
This commit is contained in:
Родитель
76db186d98
Коммит
d9972a4692
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import argparse
|
||||
import logging
|
||||
import os
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# coding=utf-8
|
||||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
|
||||
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# coding=utf-8
|
||||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
# Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team.
|
||||
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||
#
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
REPO=$PWD
|
||||
TASK=${1:-NLI_EN_HI}
|
||||
MODEL=${2:-bert-base-multilingual-cased}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
REPO=$PWD
|
||||
TASK=${1:-QA_EN_HI}
|
||||
MODEL=${2:-bert-base-multilingual-cased}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
REPO=$PWD
|
||||
TASK=${1:-Sentiment_EN_ES}
|
||||
MODEL=${2:-bert-base-multilingual-cased}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
REPO=$PWD
|
||||
TASK=${1:-POS_EN_ES}
|
||||
MODEL=${2:-bert-base-multilingual-cased}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import json
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import shlex
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import shlex
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import csv
|
||||
import os
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import argparse
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import sys
|
||||
import os
|
||||
from subprocess import call
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
ORIGINAL_DATA_DIR=$PWD/Data/Original_Data
|
||||
PROCESSED_DIR=$PWD/Data/Processed_Data
|
||||
PREPROCESS_DIR=$PWD/Data/Preprocess_Scripts
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import json
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import tweepy, sys, os, re, time, math
|
||||
import operator
|
||||
import unidecode
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import argparse
|
||||
|
|
3
NOTICE
3
NOTICE
|
@ -1 +1,2 @@
|
|||
This repo uses open source Apache licensed code from https://github.com/huggingface/transformers
|
||||
This repo makes use of https://github.com/huggingface/transformers, which was originally distributed with an Apache license.
|
||||
Training scripts are borrowed from this repo and modified accordingly for the tasks in this benchmark.
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import os
|
||||
import textwrap
|
||||
import ruamel.yaml as yaml
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
REPO=$PWD
|
||||
SUBSCRIPTION_KEY=${1:-""}
|
||||
ORIGINAL_DIR="$REPO/Data/Original_Data"
|
||||
|
|
2
train.sh
2
train.sh
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/bash
|
||||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
REPO=$PWD
|
||||
MODEL=${1:-bert-base-multilingual-cased}
|
||||
MODEL_TYPE=${2:-bert}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Microsoft Corporation. Licensed under the MIT license.
|
||||
|
||||
import requests
|
||||
import sys
|
||||
import os
|
||||
|
|
Загрузка…
Ссылка в новой задаче