Skip to content

Commit

Permalink
Update 2023-03-01-t5_flan_base_xx.md (#14345)
Browse files Browse the repository at this point in the history
Fix typo in example code.
  • Loading branch information
dcecchini authored Jul 14, 2024
1 parent 257fd57 commit 61e1892
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_posts/Cabir40/2023-03-01-t5_flan_base_xx.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ result = pipeline.fit(data).transform(data)
```
```scala
val documentAssembler = new DocumentAssembler()
.setInputCols("text")
.setOutputCols("document")
.setInputCol("text")
.setOutputCol("document")

val t5 = T5Transformer.pretrained("t5_flan_base","xx")
.setInputCols("document")
Expand Down Expand Up @@ -81,4 +81,4 @@ val result = pipeline.fit(data).transform(data)

## References

https://huggingface.co/google/flan-t5-base
https://huggingface.co/google/flan-t5-base

0 comments on commit 61e1892

Please sign in to comment.