-
Notifications
You must be signed in to change notification settings - Fork 42
/
bert-base-arabert-ar-dialect.yaml
63 lines (49 loc) 路 2.29 KB
/
bert-base-arabert-ar-dialect.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Adapter-Hub adapter entry
# Defines a single adapter entry in Adapter-Hub
# --------------------
# The type of adapter (one of the options available in `adapter_type`.
type: text_task
# The string identifier of the task this adapter belongs to.
task: dialect
# The string identifier of the subtask this adapter belongs to.
subtask: arabic
# The model type.
# Example: bert
model_type: bert
# The string identifier of the pre-trained model (by which it is identified at Huggingface).
# Example: bert-base-uncased
model_name: aubmindlab/bert-base-arabert
# The name of the author(s) of this adapter.
author: Nick Doiron
# Describes the adapter architecture used by this adapter
config:
# The name of the adapter config used by this adapter (a short name available in the `architectures` folder).
# Example: pfeiffer
using: pfeiffer
default_version: '2'
# A list of different versions of this adapter available for download.
files:
- version: '1'
url: https://raw.githubusercontent.com/MonsoonNLP/sanaa-dialect/main/dialect-adapter.zip
sha1: 4cdb1891d0e26495422b5408ab921cec559e8d31
sha256: 9f974b690fc4df5dfa1cf0cacc4eea46d4912de1b6b057642654a989b15959b0
- version: '2'
url: https://raw.githubusercontent.com/MonsoonNLP/sanaa-dialect/main/dialect-adapter-2.zip
sha1: 62abe146560f732886b711db048e7a9d1fff2370
sha256: db078a3a2e7a3b3813a45d01848ab6ae0512a00a1481703dbe9cf0883ac4ae4a
# (optional) A short description of this adapter.
description: |
Adapter for AraBERT (aubmindlab/bert-base-arabert) trained to classify Arabic by dialect {0=Egyptian, 1=Gulf, 2=Levantine, 3=Maghrebi, 4=MSA}
Trained for 3 epochs on 85k samples (+ 28k test set) from University of British Columbia and John Hopkins University.
# (optional) A contact email of the author(s).
email: ndoiron@mapmeld.com
# (optional) A GitHub handle associated with the author(s).
github: mapmeld
# (optional) The name of the model class from which this adapter was extracted. This field is mainly intended for adapters with prediction heads.
# Example: BertModelWithHeads
model_class: BertModelWithHeads
# (optional) A Twitter handle associated with the author(s).
twitter: '@mapmeld'
# (optional) A URL providing more information on this adapter/ the authors/ the organization.
url: https://github.com/MonsoonNLP/sanaa-dialect
prediction_head: true