torchrec 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/torchrec/version.rb +1 -1
- data/lib/torchrec.rb +13 -13
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 573bd88e464f0f62657e130b38acd7ced6fb1d20367824cda56ad2062330759f
|
4
|
+
data.tar.gz: d5854b55d160c2247f05c83e574d98b6b62636bebcb172cb4ab4420029f78076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc6f2535dcd479de0c17683dd0f99843b00de24fadb3550b52928514020f3ba1144f01c257a47cfe47afe977192415070246cfc5045f30d2abfcce4c72251fef
|
7
|
+
data.tar.gz: 987b4ebd4587d6c002bc9b133aad6d6eb306752db115797b1a2dde4754919d355c188e526f46b8ebc9119767fe93e6f0ba7a9754e7ae5d6757e2f8b9ab24a35b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Deep learning recommendation systems for Ruby
|
4
4
|
|
5
|
-
[![Build Status](https://github.com/ankane/torchrec-ruby/workflows/build/badge.svg
|
5
|
+
[![Build Status](https://github.com/ankane/torchrec-ruby/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/torchrec-ruby/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
data/lib/torchrec/version.rb
CHANGED
data/lib/torchrec.rb
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
# dependencies
|
2
|
-
require "torch"
|
2
|
+
require "torch-rb"
|
3
3
|
|
4
4
|
# models
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
require_relative "torchrec/models/deepfm/dense_arch"
|
6
|
+
require_relative "torchrec/models/deepfm/over_arch"
|
7
|
+
require_relative "torchrec/models/dlrm/dense_arch"
|
8
8
|
|
9
9
|
# modules
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
require_relative "torchrec/modules/activation/swish_layer_norm"
|
11
|
+
require_relative "torchrec/modules/cross_net/cross_net"
|
12
|
+
require_relative "torchrec/modules/deepfm/deepfm"
|
13
|
+
require_relative "torchrec/modules/deepfm/factorization_machine"
|
14
|
+
require_relative "torchrec/modules/mlp/mlp"
|
15
|
+
require_relative "torchrec/modules/mlp/perceptron"
|
16
|
+
require_relative "torchrec/modules/utils"
|
17
17
|
|
18
18
|
# sparse
|
19
|
-
|
19
|
+
require_relative "torchrec/sparse/jagged_tensor"
|
20
20
|
|
21
21
|
# other
|
22
|
-
|
22
|
+
require_relative "torchrec/version"
|
23
23
|
|
24
24
|
module TorchRec
|
25
25
|
class Error < StandardError; end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torchrec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: torch-rb
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: '0.13'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: '0.13'
|
27
27
|
description:
|
28
28
|
email: andrew@ankane.org
|
29
29
|
executables: []
|
@@ -58,14 +58,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.1'
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
68
|
+
rubygems_version: 3.5.11
|
69
69
|
signing_key:
|
70
70
|
specification_version: 4
|
71
71
|
summary: Deep learning recommendation systems for Ruby
|