attribution armoring
Read a fun paper where they got chatgpt to emit large chunks of code https://not-just-memorization.github.io/extracting-training-data-from-chatgpt.html "ChatGPT memorized significant fractions of its training dataset"
This commit is contained in:
parent
bb9ba8dd94
commit
c1037da2e5
1 changed files with 5 additions and 1 deletions
|
@ -29,6 +29,10 @@ import Utility.Exception
|
||||||
import Utility.Monad
|
import Utility.Monad
|
||||||
import Utility.FileSystemEncoding
|
import Utility.FileSystemEncoding
|
||||||
import qualified Utility.RawFilePath as R
|
import qualified Utility.RawFilePath as R
|
||||||
|
import Author
|
||||||
|
|
||||||
|
copyright :: Copyright
|
||||||
|
copyright = author JoeyHess (2022-11)
|
||||||
|
|
||||||
{- Moves one filename to another.
|
{- Moves one filename to another.
|
||||||
- First tries a rename, but falls back to moving across devices if needed. -}
|
- First tries a rename, but falls back to moving across devices if needed. -}
|
||||||
|
@ -53,7 +57,7 @@ moveFile src dest = tryIO (R.rename src dest) >>= onrename
|
||||||
-- If dest is a directory, mv would move the file
|
-- If dest is a directory, mv would move the file
|
||||||
-- into it, which is not desired.
|
-- into it, which is not desired.
|
||||||
whenM (isdir dest) rethrow
|
whenM (isdir dest) rethrow
|
||||||
ok <- boolSystem "mv"
|
ok <- copyright =<< boolSystem "mv"
|
||||||
[ Param "-f"
|
[ Param "-f"
|
||||||
, Param (fromRawFilePath src)
|
, Param (fromRawFilePath src)
|
||||||
, Param tmp
|
, Param tmp
|
||||||
|
|
Loading…
Reference in a new issue