Update README.md
Browse files
README.md
CHANGED
|
@@ -52,7 +52,7 @@ Contrastively Learned Attention-Based Stratified PTM Predictor (CLASPP), a uni
|
|
| 52 |
|
| 53 |
### From conda:
|
| 54 |
|
| 55 |
-

|
| 56 |
|
| 57 |
|
| 58 |
### From pip:
|
|
@@ -76,11 +76,66 @@ Installing torch can be the most complex part
|
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
-
|
| 80 |
<p align="center">
|
| 81 |
<img width="100%" src= "figures/Screenshot%20from%202025-07-11%2014-19-21.png">
|
| 82 |
</p>
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
### Model Description
|
| 85 |
|
| 86 |
<!-- Provide a longer summary of what this model is. -->
|
|
|
|
| 52 |
|
| 53 |
### From conda:
|
| 54 |
|
| 55 |
+

|
| 56 |
|
| 57 |
|
| 58 |
### From pip:
|
|
|
|
| 76 |
|
| 77 |
|
| 78 |
|
|
|
|
| 79 |
<p align="center">
|
| 80 |
<img width="100%" src= "figures/Screenshot%20from%202025-07-11%2014-19-21.png">
|
| 81 |
</p>
|
| 82 |
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
### Creating this conda environment
|
| 87 |
+
(yml file is include but torch sometimes makes it not useable depending on your nvidia driver)
|
| 88 |
+
|
| 89 |
+
Just type these lines of code into the terminal after you download this repository (this assumes you have [anaconda](https://www.anaconda.com/) already installed)
|
| 90 |
+
|
| 91 |
+
```
|
| 92 |
+
conda create -n claspp_forward python=3.9.23
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
```
|
| 96 |
+
conda deactivate
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
```
|
| 100 |
+
conda activate claspp_forward
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
```
|
| 104 |
+
pip3 install numpy==2.0.2
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
```
|
| 108 |
+
pip3 install transformers==4.53.2
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
```
|
| 112 |
+
pip3 install datasets==4.0.0
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
|
| 116 |
+
### **For torch you will have to download to the torch's specification if you want gpu acceleration from this website ** [pytroch](https://pytorch.org/get-started/locally/) **
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
```
|
| 121 |
+
pip3 install torch torchvision torchaudio
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
### the terminal line above might look different for you
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
We provided code to test Phosformer-ST (see section below)
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
:tada: you are know ready to run the code :tada:
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
|
| 139 |
### Model Description
|
| 140 |
|
| 141 |
<!-- Provide a longer summary of what this model is. -->
|