opened
DavidBruant
username_0
http://opennmt.net/OpenNMT/installation/

- [ ] Install Torch
- [ ] Install additional dependencies:

```sh
luarocks install tds
luarocks install bit32 # if using LuaJIT
```

- [ ] Clone the OpenNMT repository:

```sh
git clone https://github.com/OpenNMT/OpenNMT
cd OpenNMT
```
Install OpenNMT
issue
created
DavidBruant
username_0
Torch : 
http://torch.ch/docs/getting-started.html

```sh
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
```

```sh
source ~/.bashrc
```

```
$ th
 
  ______             __   |  Torch7                                   
 /_  __/__  ________/ /   |  Scientific computing for Lua.         
  / / / _ \/ __/ __/ _ \  |                                           
 /_/  \___/_/  \__/_//_/  |  https://github.com/torch   
                          |  http://torch.ch            
			  
th> torch.Tensor{1,2,3}
 1
 2
 3
[torch.DoubleTensor of dimension 3]

th>

To exit the interactive session, type ^c twice — the control key together with the c key, twice, or type os.exit(). Once the user has entered a complete expression, such as 1 + 2, and hits enter, the interactive session evaluates the expression and shows its value.

To evaluate expressions written in a source file file.lua, write dofile "file.lua".

To run code in a file non-interactively, you can give it as the first argument to the th command::

$ th file.lua

There are various ways to run Lua code and provide options, similar to those available for the perl and ruby programs:

 $ th -h


```
comment