Update README.md
Browse files
README.md
CHANGED
@@ -8,8 +8,16 @@ Size of data ~ 10k
|
|
8 |
from transformers import pipeline
|
9 |
summarizer = pipeline("summarization", model="Mit1208/Med-Sum")
|
10 |
|
11 |
-
long_text = "
|
12 |
-
|
13 |
result = summarizer(long_text)
|
14 |
print(result[0]["summary_text"])
|
15 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
from transformers import pipeline
|
9 |
summarizer = pipeline("summarization", model="Mit1208/Med-Sum")
|
10 |
|
11 |
+
long_text = "The human brain is the inspiration behind neural network architecture. Human brain cells, called neurons, form a complex, highly interconnected network and send electrical signals to each other to help humans process information. Similarly, an artificial neural network is made of artificial neurons that work together to solve a problem. Artificial neurons are software modules, called nodes, and artificial neural networks are software programs or algorithms that, at their core, use computing systems to solve mathematical calculations."
|
|
|
12 |
result = summarizer(long_text)
|
13 |
print(result[0]["summary_text"])
|
14 |
+
```
|
15 |
+
|
16 |
+
Output:
|
17 |
+
```
|
18 |
+
The human brain is the inspiration behind neural network architecture. Human brain cells, called neurons, form a complex, highly interconnected network and send electrical signals to each other to help humans process information. The artificial neural network is made of artificial neurons that work together to solve a problem.
|
19 |
+
```
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
long_text--[https://aws.amazon.com/what-is/neural-network/]
|