-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
60 lines (48 loc) · 2.4 KB
/
readme.txt
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
The following software are needed prior to running the example available in this repository:
1. Erlang/OTP 26 | https://www.erlang.org/downloads/26
2. RabbitMQ | https://www.rabbitmq.com/docs/install-windows#installer
3. pika | conda install conda-forge::pika
To be able to use GPU to train, do:
4. conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia
5. conda install pytorch::torchtext
The trained models (LSTM, DistilBERT, and Logistic Regression) are available at:
6. https://bit.ly/mas-files
The conda environment file is also available in the link above. Please note that the environment
was built with PyCharm 2024.1.6 (Professional Edition) on a Windows 10 PC with NVIDIA GeForce GTX 960M.
Please download and unzip the folder and paste them where the folder where "\anaconda3\envs". For example,
in the environment folder in "C:\Users\<user>\anaconda3\envs". Alternatively, you can use the environment.yaml
file given in the directory of this readme.txt file. In that case, to create an environment from the
environment file, use the command:
conda env create -f environment.yaml
------------
preamble for action agents
------------
The instructions below are for windows.
They are for the dependencies needed so IOTA SDK may work on a Windows 10 pc.
1. Install rust and cargo
https://www.rust-lang.org/tools/install
restart pc
rustup --version
cargo --version
rustc --version
2. Install LLVM
https://releases.llvm.org/download.html e.g LLVM-18.1.8-win64.exe
run as admin
clang --version
clang++ --version
restart IDE/pc
3. Install and follow IOTA SDK instructions for Python
git clone https://github.com/iotaledger/iota-sdk
https://wiki.iota.org/iota-sdk/getting-started/python/
----------------
development phase for action agents incorporating iota
----------------
A. pip install iota-sdk python-dotenv
B. get .env.example file in order to run with parameters
C. get example-walletdb file [from a reference repo e.g testIOTAwindows]
D. copy example.stronghold file
E. mint some nfts or perform some transactions.
C & D assumes you have already created a user.
AGENTS In ACTION
PAA = https://explorer.shimmer.network/shimmer-testnet/block/0x84a398921e71d65a6840d0dba2c7a316975aa6012d1c092b0857bfa945568f91?tab=Payload
NegAA = https://explorer.shimmer.network/shimmer-testnet/block/0x09c9c9db54ee7442fc0bce939a859fb329a82e43a281de253733619c071ab2f3?tab=Payload