Skip to content

Commit e0c77f5

Browse files
authored
Merge pull request #20 from AdarshKumar712/update
Update TextModels to work with Flux @0.12 and Zygote
2 parents 48921c3 + b15cc03 commit e0c77f5

24 files changed

+615
-284
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
version:
16-
- '1.3'
17-
- '1'
16+
- '1.6'
1817
- 'nightly'
1918
os:
2019
- ubuntu-latest
@@ -29,12 +28,12 @@ jobs:
2928
# MacOS not available on x86
3029
- {os: 'macOS-latest', arch: 'x86'}
3130
# Don't test on all versions
32-
- {os: 'macOS-latest', version: '1.3'}
31+
- {os: 'macOS-latest', version: '1.6'}
3332
- {os: 'macOS-latest', version: 'nightly'}
34-
- {os: 'windows-latest', version: '1.3'}
33+
- {os: 'windows-latest', version: '1.6'}
3534
- {os: 'windows-latest', version: 'nightly'}
3635
- {os: 'windows-latest', arch: 'x86'}
37-
- {arch: 'x86', version: '1.3'}
36+
- {arch: 'x86', version: '1.6'}
3837
- {arch: 'x86', version: 'nightly'}
3938
steps:
4039
- uses: actions/checkout@v1
@@ -55,7 +54,7 @@ jobs:
5554
- uses: actions/checkout@v1
5655
- uses: julia-actions/setup-julia@latest
5756
with:
58-
version: '1.5'
57+
version: '1.6'
5958
- run: julia --project=docs -e '
6059
using Pkg;
6160
Pkg.develop(PackageSpec(; path=pwd()));

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ os:
66
env:
77
- DATADEPS_ALWAYS_ACCEPT=true
88
julia:
9-
- 1.3
10-
- 1
9+
- 1.6
1110
- nightly
1211
matrix:
1312
allow_failures:
1413
- julia: nightly
1514
exclude:
1615
- os: osx
17-
julia: 1.3
16+
julia: 1.6
1817
- os: windows
19-
julia: 1.3
18+
julia: 1.6
2019
- os: osx
2120
julia: nightly
2221
- os: windows

Project.toml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,39 @@ name = "TextModels"
22
uuid = "77b9cbda-2a23-51df-82a3-24144d1cd378"
33
license = "MIT"
44
desc = "Practical Neural Network based models for Natural Language Processing"
5-
version = "0.1.0"
5+
version = "0.1.1"
66

77
[deps]
88
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
9+
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
10+
CorpusLoaders = "214a0ac2-f95b-54f7-a80b-442ed9c2c9e8"
911
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
1012
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
1113
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
1214
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1315
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
1416
Languages = "8ef0a80b-9436-5d2c-a485-80b904378c43"
15-
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1617
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
1718
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
18-
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1919
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
20-
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2120
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
21+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2222
TextAnalysis = "a2db99b7-8b79-58f8-94bf-bbc811eef33d"
23-
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
2423
WordTokenizers = "796a5d58-b03d-544a-977e-18100b691f6e"
24+
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2525

2626
[compat]
27-
BSON = "0.2.5, 0.3"
28-
DataDeps = "0.7"
29-
DataStructures = "0.17, 0.18"
30-
Flux = "0.9"
31-
JSON = "0.21"
32-
Languages = "0.4"
33-
NNlib = "0.6, 0.7"
34-
StatsBase = "0.33"
35-
TextAnalysis = "0.7"
36-
Tracker = "0.2"
37-
WordTokenizers = "0.5"
38-
julia = "1.3"
27+
BSON = "0.3.3"
28+
DataStructures = "0.18.9"
29+
Flux = "0.12.2"
30+
JSON = "0.21.1"
31+
Languages = "0.4.3"
32+
NNlib = "0.7"
33+
StatsBase = "0.33.6"
34+
TextAnalysis = "0.7.3"
35+
WordTokenizers = "0.5.6"
36+
Zygote = "0.6.10"
37+
julia = "1.6"
3938

4039
[extras]
4140
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

docs/make.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ makedocs(
88
pages = [
99
"Home" => "index.md",
1010
"Conditional Random Fields" => "crf.md",
11-
"Named Entity Recognition" => "ner.md",
1211
"ULMFiT" => "ULMFiT.md",
12+
"Named Entity Recognition" => "ner.md",
13+
"Tagging Schemes" => "tagging.md",
14+
"Sentiment Analyzer" => "sentiment.md",
1315
"API References" => "APIReference.md"
1416
],
1517
)

0 commit comments

Comments
 (0)